package com.mvu.banana.internal.builder;

import com.mvu.banana.domain.client.Gender;
import com.mvu.banana.domain.stub.Credential;
import com.mvu.banana.domain.stub.Profile;
import com.mvu.banana.internal.server.BuilderBase;
import com.mvu.banana.internal.server.ProfileBuilder;

import java.util.Date;

public class ProfileBuilderStub extends BuilderBase<Profile>{
  
  public ProfileBuilderStub(){
    super(new Profile());
    init();
  }
  
  public void init(){
  }
  
  public ProfileBuilder withName(String p0){
    product.setName(p0);
    return (ProfileBuilder) this;
  }
  
  public ProfileBuilder withEmail(String p0){
    product.setEmail(p0);
    return (ProfileBuilder) this;
  }
  
  public ProfileBuilder withGender(Gender p0){
    product.setGender(p0);
    return (ProfileBuilder) this;
  }
  
  public ProfileBuilder withBirthDate(Date p0){
    product.setBirthDate(p0);
    return (ProfileBuilder) this;
  }

  public ProfileBuilder withCredential(Credential p0) {
    product.setCredential(p0);
    return (ProfileBuilder) this;
  }
}